Avoid clobbering primary selection when switching frames (Bug#6872).
authorChong Yidong <cyd@stupidchicken.com>
Tue, 24 Aug 2010 15:48:14 +0000 (11:48 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 24 Aug 2010 15:48:14 +0000 (11:48 -0400)
commita61dd281a790747b47e48b64ae145d4f7b1dece4
tree4218fc4343e54c950f53667417989864569e3fd4
parentd8a6ab6e50618c9dda5891c314ba4e1fe507d3c6
Avoid clobbering primary selection when switching frames (Bug#6872).

* lisp/mouse.el (mouse-yank-primary): Avoid setting primary when
deactivating the mark (Bug#6872).

* src/keyboard.c (command_loop_1): Don't set primary selection during
handle-switch-frame (Bug#6872).
lisp/ChangeLog
lisp/mouse.el
src/ChangeLog
src/keyboard.c